<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>All Horses</title>
</head>
<body>
	<ul>
		#{list items:horselist, as:'Horse'}
		<li><b><a href="@{Horses.ViewHorse(Horse.id)}">${Horse.Name}</a>

		</b>

			<form action="@{Horses.DeleteHorse()}" method="get">
				<input type="hidden" value=${Horse.id} name="id"> <input
					type="submit" Value="Delete">
			</form>


			<form action="@{Horses.EditHorse()}" method="get">
			<input type="hidden" value="${Horse.id}" name="id">
			<input type="submit" value="Edit">
			
			</form></li> #{/list}

	</ul>
</body>
</html>